package com.solo.eggsolo.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * @description follow
 * @author yu
 * @date 2022-06-19
 */
public class Follow implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 粉丝表id
    */
    private Integer id;

    /**
    * 关注着id
    */
    private Integer fansId;
    
    private User user;

    /**
    * 被关注者id
    */
    private Integer followId;
    
    /**
     * 粉丝总数
     */
    private Integer fansTotal;
    
    public Integer getFansTotal() {
		return fansTotal;
	}

	public void setFansTotal(Integer fansTotal) {
		this.fansTotal = fansTotal;
	}

	public Integer getFollowsTotal() {
		return followsTotal;
	}

	public void setFollowsTotal(Integer followsTotal) {
		this.followsTotal = followsTotal;
	}


	/**
     * 关注数
     */
    private Integer followsTotal;

	private User fans;
    
    private User follow;
    
    public Integer getFollowId() {
		return followId;
	}

	public void setFollowId(Integer followId) {
		this.followId = followId;
	}

	public Integer getFansId() {
		return fansId;
	}

	public void setFansId(Integer fansId) {
		this.fansId = fansId;
	}

	public User getFans() {
		return fans;
	}

	public void setFans(User fans) {
		this.fans = fans;
	}

	public User getFollow() {
		return follow;
	}

	public void setFollow(User follow) {
		this.follow = follow;
	}


    /**
    * 关注时间
    */
    private Date followTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getFollowTime() {
		return followTime;
	}

	public void setFollowTime(Date followTime) {
		this.followTime = followTime;
	}

	@Override
	public String toString() {
		return "Follow [id=" + id + ", user=" + user + ", fansTotal=" + fansTotal + ", followsTotal=" + followsTotal
				+ ", fans=" + fans + ", follow=" + follow + ", followTime=" + followTime + "]";
	}


	


	
}